<?php
session_start();
if($_SERVER['HTTP_HOST']=="www.innovaempleos.com.py" or $_SERVER['HTTP_HOST']=="innovaempleos.com.py")
$_SESSION['region']=3;
else
$_SESSION['region']=1;
include "includes/comunes.php";
error_reporting(0);
//busco el aviso
$tabla="paginas";
$condicion=" PaginaId=".$_GET['pag_id'];
$orden="";
$resPag=cons_sql($tabla,$condicion,$orden);
$regPag=mysql_fetch_array($resPag);


?>
<!DOCTYPE html>
<html class="no-js">
    <head>
        <?php 
	  //incluyo encabezados
	  include "includes/header.php" ;?>
    </head>
    <body>
        <!--[if lt IE 7]>
            <p class="chromeframe">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> or <a href="http://www.google.com/chromeframe/?redirect=true">activate Google Chrome Frame</a> to improve your experience.</p>
        <![endif]-->

         <?php include "includes/navbar.php" ;?>
        
        
        
        <div class="container">
            <div class="masthead">
               <?php include "includes/menuloguin.php" ;?> 
                
               <?php 
				  //incluyo encabezados
				  include "includes/regiones.php" ;?>
            </div>
        </div>

        

        <!-- Pagina estatica -->
        <section class="container static-page">
		 <ul class="breadcrumb">
                    <li><a href="javascript:history.back(1)" class="btn">&larr; Volver</a></li>
                    <li><a href="busqueda.php">Bolsa de trabajo</a></li>
                    <li><b><?php echo utf8_encode($regPag['PaginaTitulo']) ?></b></li>
                </ul>
            <div class="row">
             
                <div class="span8">
				    <h1><?php echo utf8_encode($regPag['PaginaTitulo']) ?></h1>
                    <?php echo utf8_encode($regPag['PaginaContenido']) ?></div>
                <div class="span4">
                    <?php include "includes/indexpublicidadlateral.php"?>
                </div>
            </div>
        </section>


        <!-- Pie de página -->
       <?php 
	   //cargo el pie de pagina
	   include "includes/footer.php";?>
       <?php 
	   //cargo el pie de pagina
	   include "includes/modal.php";?>

        <?php 
	   //cargo js principales
	   include "includes/MainJs.php"; ?>
    </body>
</html>